*{
  box-sizing: border-box;
}
button{
  background-color: #48484e;
  padding: 8px 10px;
  color: #d9dfdf;
  border-radius: 4px;
  border: none;
  outline: none;
  opacity: .7;
  cursor: pointer;
}
button:hover{
  opacity: 1;
}

/* control */
.control{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 1;
  font-size: 0;
  opacity: 0;
  transition: opacity .3s;
}
.control:hover{
  opacity: 1;
}
.control .icon-setting{
  margin:  16px;
  display: inline-block;
  font-size: 24px;
  cursor: pointer;
}

/* menu */
.menu{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 180px;
  z-index: 100;
  background-color: #252f2d;
  transform: translateX(-100%);
  transition: transform .3s;
}
.menu.active{
  transform: translateX(0);
}
.menu .icon-close{
  position: absolute;
  right: 10px;
  top: 10px;
}
.menu .detail{
  margin-top: 50px;
}
.menu .detail .tab{
  font-size: 14px;
  display: flex;
  align-items: center;
  margin: 10px 20px;
  cursor: pointer;
  opacity: .7;
  color: #fff;
}
.menu .tab .iconfont{
  margin-right: 3px;
}
.menu .tab.active{
  opacity: 1;
}
.menu .content{
  position: fixed;
  top: 0;
  left: 180px;
  bottom: 0;
  font-size: 14px;
  overflow-y: scroll;
  width: calc(100vw - 180px); 
  background-color: #212a29;
  transform: translateX(calc(100% + 180px));
  transition: transform .3s;
}
.menu.active .content.active{
  transform: translateX(0);
}
.menu .content .header{
  font-size: 35px;
  border-bottom: 1px solid #797979;
  padding: 40px 20px 20px;
}
.menu .content .body{
  padding: 20px;
}
.menu .content textarea{
  width: 100%;
  height: 300px;
  padding: 10px;
  outline: none;
  border: none;
  font-size: 12px;
}
.menu .img-uploader{
  margin: 10px 0;
  font-size: 14px;
  line-height: 14px;
}
.menu .img-uploader [type=file]{
  display: none;
}
.menu .img-uploader label{
  cursor: pointer;
  
}

/* theme */
.menu .theme-box{
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  margin-top: 10px;
}
.menu .theme-box figure{
  border: 4px solid transparent;
  margin-top: 10px;
}

.menu .theme-box figure.select{
  border: 4px solid #fff;
  transition: .3s;
}
.menu .theme-box figure img{
  width: 200px;
  height: 120px;
  max-width: 100%;
  max-height: 100%;
}
.menu .theme-box figure figcaption{
  font-size: 16px;
  text-align: center;
  padding: 10px 0;
}
.menu .theme h5{
  font-size: 23px;
  margin: 0!important;
}
.menu .theme select{
  margin: 10px 0;
}

.reveal.left-top *{
  text-align: left;
}
.reveal.left-top .slides > section:first-child > *{
  text-align: center;
}